package com.tertyshniy.portlet.model.dao;

import com.tertyshniy.portlet.model.domain.FakeData;

     /**
 * DAO interface
 * @author Dimon
 *
 */

public interface FakeDataDao {

         /**
          * Creates FakeData object
          * @param id   id of the created FakeData object
          * @param name  name of the created FakeData object
          * @param num   some number for the new object
          * @return new FakeData object
          */
    public FakeData createFakeData(String id,String name,String num);

         /**
          * Finds FakeData object by ID
          * @param id   id of the created FakeData object
          * @return FakeData object with  necessary id
          */
    public FakeData findFakeData(String id);

         /**
          * removes FakeData object by id
          * @param id
          */
    public void removeFakeData(String id);

    }



